#include <bits/stdc++.h>
using namespace std;


int N;
vector<int> A;

int main(){
#ifndef ONLINE_JUDGE
    freopen("z.txt", "r", stdin);
#endif
    ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
    string S; cin >> S;
    int n = S.length();
    cout << S[0];
    for(int i=1;i<n;++i) cout << " " << S[i];
    cout << endl;
    return 0;
}